3.55 \(\int \frac {\sqrt {\sin (a+b \log (c x^n))}}{x} \, dx\)

Optimal. Leaf size=29 \[ \frac {2 E\left (\left .\frac {1}{2} \left (a+b \log \left (c x^n\right )-\frac {\pi }{2}\right )\right |2\right )}{b n} \]

[Out]

-2*(sin(1/2*a+1/4*Pi+1/2*b*ln(c*x^n))^2)^(1/2)/sin(1/2*a+1/4*Pi+1/2*b*ln(c*x^n))*EllipticE(cos(1/2*a+1/4*Pi+1/
2*b*ln(c*x^n)),2^(1/2))/b/n

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 29, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {2639} \[ \frac {2 E\left (\left .\frac {1}{2} \left (a+b \log \left (c x^n\right )-\frac {\pi }{2}\right )\right |2\right )}{b n} \]

Antiderivative was successfully verified.

[In]

Int[Sqrt[Sin[a + b*Log[c*x^n]]]/x,x]

[Out]

(2*EllipticE[(a - Pi/2 + b*Log[c*x^n])/2, 2])/(b*n)

Rule 2639

Int[Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2*EllipticE[(1*(c - Pi/2 + d*x))/2, 2])/d, x] /; FreeQ[{
c, d}, x]

Rubi steps

\begin {align*} \int \frac {\sqrt {\sin \left (a+b \log \left (c x^n\right )\right )}}{x} \, dx &=\frac {\operatorname {Subst}\left (\int \sqrt {\sin (a+b x)} \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=\frac {2 E\left (\left .\frac {1}{2} \left (a-\frac {\pi }{2}+b \log \left (c x^n\right )\right )\right |2\right )}{b n}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.08, size = 32, normalized size = 1.10 \[ -\frac {2 E\left (\left .\frac {1}{2} \left (-a-b \log \left (c x^n\right )+\frac {\pi }{2}\right )\right |2\right )}{b n} \]

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[Sin[a + b*Log[c*x^n]]]/x,x]

[Out]

(-2*EllipticE[(-a + Pi/2 - b*Log[c*x^n])/2, 2])/(b*n)

________________________________________________________________________________________

fricas [F]  time = 0.49, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\sqrt {\sin \left (b \log \left (c x^{n}\right ) + a\right )}}{x}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(a+b*log(c*x^n))^(1/2)/x,x, algorithm="fricas")

[Out]

integral(sqrt(sin(b*log(c*x^n) + a))/x, x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {\sin \left (b \log \left (c x^{n}\right ) + a\right )}}{x}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(a+b*log(c*x^n))^(1/2)/x,x, algorithm="giac")

[Out]

integrate(sqrt(sin(b*log(c*x^n) + a))/x, x)

________________________________________________________________________________________

maple [A]  time = 0.07, size = 129, normalized size = 4.45 \[ -\frac {\sqrt {\sin \left (a +b \ln \left (c \,x^{n}\right )\right )+1}\, \sqrt {-2 \sin \left (a +b \ln \left (c \,x^{n}\right )\right )+2}\, \sqrt {-\sin \left (a +b \ln \left (c \,x^{n}\right )\right )}\, \left (2 \EllipticE \left (\sqrt {\sin \left (a +b \ln \left (c \,x^{n}\right )\right )+1}, \frac {\sqrt {2}}{2}\right )-\EllipticF \left (\sqrt {\sin \left (a +b \ln \left (c \,x^{n}\right )\right )+1}, \frac {\sqrt {2}}{2}\right )\right )}{n \cos \left (a +b \ln \left (c \,x^{n}\right )\right ) \sqrt {\sin \left (a +b \ln \left (c \,x^{n}\right )\right )}\, b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(a+b*ln(c*x^n))^(1/2)/x,x)

[Out]

-1/n*(sin(a+b*ln(c*x^n))+1)^(1/2)*(-2*sin(a+b*ln(c*x^n))+2)^(1/2)*(-sin(a+b*ln(c*x^n)))^(1/2)*(2*EllipticE((si
n(a+b*ln(c*x^n))+1)^(1/2),1/2*2^(1/2))-EllipticF((sin(a+b*ln(c*x^n))+1)^(1/2),1/2*2^(1/2)))/cos(a+b*ln(c*x^n))
/sin(a+b*ln(c*x^n))^(1/2)/b

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {\sin \left (b \log \left (c x^{n}\right ) + a\right )}}{x}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(a+b*log(c*x^n))^(1/2)/x,x, algorithm="maxima")

[Out]

integrate(sqrt(sin(b*log(c*x^n) + a))/x, x)

________________________________________________________________________________________

mupad [B]  time = 2.32, size = 26, normalized size = 0.90 \[ \frac {2\,\mathrm {E}\left (\frac {a}{2}-\frac {\pi }{4}+\frac {b\,\ln \left (c\,x^n\right )}{2}\middle |2\right )}{b\,n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(a + b*log(c*x^n))^(1/2)/x,x)

[Out]

(2*ellipticE(a/2 - pi/4 + (b*log(c*x^n))/2, 2))/(b*n)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {\sin {\left (a + b \log {\left (c x^{n} \right )} \right )}}}{x}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(a+b*ln(c*x**n))**(1/2)/x,x)

[Out]

Integral(sqrt(sin(a + b*log(c*x**n)))/x, x)

________________________________________________________________________________________